<?php
    class Admin_StaticController extends \WZ_controller
    {
        protected $_em;
        protected $_app;

        public function _initController()
        {
            $this->_app = self::getApp();
            $this->_em = \WZ::getvar('em');
        }
        
        public function indexAction()
        {
            // $this->_app->cached(3600);
            WZ_Seo::set('title', 'Accueil');
            $this->view->test = time();
        }
        
        public function is404Action()
        {
            // $this->_app->cached(7200);
            WZ_Seo::set('title', 'Page inconnue');
        }
        
        public function isErrorAction()
        {
            // $this->_app->cached(7200);
            WZ_Seo::set('title', 'Page erreur');
        }
    }